package com.atguigu.yygh.cmn.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2022/12/23 - 14:12
 * @Author: Hyoung
 * @Description:
 */
@FeignClient("service-cmn")
public interface DictFeignClient {
    @GetMapping("/inner/cmn/dict/getName")
    String getName(@RequestParam("parentDictCode") String parentDictCode, @RequestParam("value") String value);
}
